package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Question;
import cn.wolfcode.trip.base.query.QuestionQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IQuestionService {

    void saveOrUpdate(Question question);

    void delete(Long id);

    Question get(Long id);

    List<Question> listByUserId(Long userId);

    PageInfo<Question> query(QuestionQueryObject qo);
}
